//
//  Line.m
//  MicroShop
//
//  Created by siyue on 15/8/22.
//  Copyright (c) 2015年 App. All rights reserved.
//

#import "Line.h"

@implementation Line

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    if (self) {
        NSArray *array = self.constraints;
        for (NSLayoutConstraint *constraint in array) {
            if (constraint.constant<=1) {
                constraint.constant = 1.0f/[UIScreen mainScreen].scale;
            }
        }
    }
    return self;
}


@end
